﻿using System.Drawing;
using System.Windows.Forms;

namespace Ast.Framework.Forms
{
    public static class FormExtensions
    {
        public static Form SetTabStyle(this Form form)
        {
            form.TopLevel = false;
            form.Dock = DockStyle.Fill;
            form.FormBorderStyle = FormBorderStyle.None;
            form.BackColor = Color.White;
            return form;
        }
    }
}